textArea.with{
    text = text.replaceAll(
        /\/\*(?ms).+?\*\//,
        ""
    ).replaceAll(
        / *\/\/.+(?=\n)/,
        ""
    ).replaceAll(
        /( *\n){3,}/,
        "\n\n"
    )
}
